#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#define ARGS_CHECK(argc,num) {if(argc!=num){fprintf(stderr,"args error!\n");return -1;}}
#define ERROR_CHECK(ret,num,msg) {if(ret == num){perror(msg); return -1;}}
